SetGXShape
Mac OSThe
SetGXShape
method modifies this shape to make it equivalent to the specified QuickDraw GX shape.
void SetGXShape (in ODgxShape s);
s
- A QuickDraw GX shape object of type rectangle, polygon, path, empty, or full.
DISCUSSION
Before calling this method, you must ensure that QuickDraw GX is installed. After this method executes successfully, the QuickDraw GX shape is owned by this shape; you cannot modify it or deallocate its storage.This method calls the
SetPlatformShape
method to assign the shape.EXCEPTIONS
kODErrInvalidGraphicsSystem
- The QuickDraw GX graphics system is not installed or available.
kODErrInvalidPlatformShape
- This shape's type is not one of polygon, rectangle, path, empty, or full.
kODErrOutOfMemory
- There is not enough memory to assign the QuickDraw GX shape.
SEE ALSO
TheODgxShape
type (page 884).
TheODShape::GetGXShape
method (page 638).
TheODShape::SetPlatformShape
method (page 650).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help